package com.net.tkc.pro.impl;

import com.net.tkc.pro.entity.Collect;
import com.net.tkc.pro.entity.PaiH;
import com.net.tkc.pro.entity.UserIntegral;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserIntegralImpl {
    int addUserIntegral(@Param("UserIntegral") UserIntegral UserIntegral);//添加记录
    List<UserIntegral> getUserList(int userid);
    int getSun(int userid);
    List<PaiH> getSunLIst();
    List<UserIntegral> getLIst(int Start, int Page);
    int upInt(int id,String mode,int fraction);//更新记录
    int delint(int id);
}
